/*
 * imagenes.h
 *
 *  Created on: 5/9/2014
 *      Author: anonimo
 */

#ifndef IMAGENES_H_
#define IMAGENES_H_
#include "SDL2/SDL.h"
#include "SDL2/SDL_image.h"
#include <iostream>

int* convertir_hex_a_rgb(std::string color);

int conversion_metro_a_pixel(double entrada,int max_pix, int max_mundo);

int transformar_coord_y_a_sdl(double coord,int alto_pantalla, int alto_mundo);


int transformar_coord_x_a_sdl(double coord,int ancho_pantalla,int ancho_mundo);


void dibujarFigura(SDL_Renderer* renderer,SDL_Texture* cuadrado,double alto,double ancho,double angulo,double centro_x,double centro_y);

SDL_Texture* crearCirculo(SDL_Renderer* renderer,char* color);



SDL_Texture* crearTriangulo(SDL_Renderer* renderer,char* color);

SDL_Texture* crearRectangulo(SDL_Renderer* renderer,char* color);


SDL_Texture* crearCirculo(SDL_Renderer* renderer,char* color);

SDL_Texture* crearPentagono(SDL_Renderer* renderer,char* color);

SDL_Texture* crearHexagono(SDL_Renderer* renderer,char* color);

SDL_Texture* crearParalelogramo(SDL_Renderer* renderer,char* color);

SDL_Texture* crearTrapecio(SDL_Renderer* renderer,char* color);



#endif /* IMAGENES_H_ */
